<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<c-rt:set var="imgDomain"><%=ServerValue.getImgDomain()%></c-rt:set>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title></title>
	</head>
	<body>
		<table class="tb-1" width="100%">
			<tr>
				<th>图片</th>
				<th>类型</th>
				<th>路径</th>
			</tr>		
			<c-rt:forEach items="${iconImg}" var="icon">
				<tr>
					<td><img src="${imgDomain}${icon.imgFilePath}" width="40" height="40" onError="this.src='${imgDomain}/PImg/40x40.gif'"/></td>
					<td>主规格示意图</td>
					<td><%=ServerValue.getImgDomain()%>${icon.imgFilePath}</td>
				</tr>
			</c-rt:forEach>
			<c-rt:forEach items="${mainImg}" var="main">
				<c-rt:if test="${main.picDesc ne 'm400'}">
					<tr>
						<td><img src="${imgDomain}${main.imgFilePath}" width="75" height="75" onError="this.src='${imgDomain}/PImg/blank_75.gif'"/></td>
						<td>方形主规格图</td>
						<td>${imgDomain}${main.imgFilePath}</td>
					</tr>
				</c-rt:if>
			</c-rt:forEach>
			<c-rt:forEach items="${rmainImg}" var="rmain">
				<tr>
					<td><img src="${imgDomain}${rmain.imgFilePath}" width="75" height="93" onError="this.src='${imgDomain}/PImg/blank_r93.gif'"/></td>
					<td>长形主规格图</td>
					<td>${imgDomain}${rmain.imgFilePath}</td>
				</tr>
			</c-rt:forEach>
			<c-rt:forEach items="${mspecImg}" var="mspec">
				<tr>
					<td><img src="${imgDomain}${mspec.imgFilePath}" width="75" height="75" onError="this.src='${imgDomain}/PImg/blank_75.gif'"/></td>
					<td>方形主规格细节</td>
					<td>${imgDomain}${mspec.imgFilePath}</td>
				</tr>
			</c-rt:forEach>
			<c-rt:forEach items="${rmspecImg}" var="rmspec">
				<tr>
					<td><img src="${imgDomain}${rmspec.imgFilePath}" width="75" height="93" onError="this.src='${imgDomain}/PImg/blank_r93.gif'"/></td>
					<td>长形主规格细节</td>
					<td>${imgDomain}${rmspec.imgFilePath}</td>
				</tr>
			</c-rt:forEach>												
		</table>
	</body>
</html>